<h2><font style="color: #0066A4;">CREATE NEW CATEGORY</font></h2>
<?php if (Yii::app()->user->hasFlash('success')): ?>
        <div class="flash-notice">
            <?php echo Yii::app()->user->getFlash('success'); ?>
        </div>
    <?php endif; ?>
<?php
echo $this->renderPartial('_form', array(
    'categoryTypes' => $categoryTypes,
    'category' => $category,
    'categoryDetails' => $categoryDetails,
    'message' => $message,
));
?>